//1：输入一个整数，判断其是否是另一个数的平方，比如64是8的平方，7不是任何数的平方
public class Task1 {
    public static void main(String[] args) {
        System.out.println("please input a number:");
        Scanner input = new Scanner(System.in);
        int num = input.nextInt(), i = 0;
        for (i = 0; i <= num; i++) {
            if (i * i == num) {
                System.out.println(num + "is " + i + "'s square");
                break;
            }
        }
        if (i * i != num) {
            System.out.println("it has nothing");
        }
    }
}